package com.ruoyi.smart.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品检验波形数据对象 smart_product_jy_waveform
 * 
 * @author minwei
 * @date 2022-04-07
 */
public class SmartProductJyWaveform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 记录ID */
    @Excel(name = "记录ID")
    private Long productJyId;

    /** 数据 */
    @Excel(name = "数据")
    private String data;

    /** 注释 */
    @Excel(name = "注释")
    private String notes;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductJyId(Long productJyId) 
    {
        this.productJyId = productJyId;
    }

    public Long getProductJyId() 
    {
        return productJyId;
    }
    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productJyId", getProductJyId())
            .append("data", getData())
            .append("notes", getNotes())
            .append("state", getState())
            .append("createDate", getCreateDate())
            .toString();
    }
}
